package com.thon.dao.util;


/**
 * @author Manpiaoyi
 * @mail manpiaoyi@126.com
 * @date 2014-11-4 
 * @description
 */
public class HighCharts{


	private String titleText;//图表标题 
	private String subtitleText;//副标题
	private String[] xAxisCategories;//X轴类别 
	
	private String yAxisTitleText;//y轴标题 
	
	private Double totle;
	
	private Series[]  series;
	private PieSeries[] pieSeries;
	
	public HighCharts()
	{
		totle=0.0;
		titleText="";
		subtitleText="";
		yAxisTitleText="";
		xAxisCategories = null;
		series=null;
		pieSeries=null;
	}
	
	public String getTitleText() {
		return titleText;
	}

	public void setTitleText(String titleText) {
		this.titleText = titleText;
	}

	public String[] getxAxisCategories() {
		return xAxisCategories;
	}

	public void setxAxisCategories(String[] xAxisCategories) {
		this.xAxisCategories = xAxisCategories;
	}

	public String getyAxisTitleText() {
		return yAxisTitleText;
	}

	public void setyAxisTitleText(String yAxisTitleText) {
		this.yAxisTitleText = yAxisTitleText;
	}

	public Series[] getSeries() {
		return series;
	}

	public void setSeries(Series[] series) {
		this.series = series;
	}
	
	public String getSubtitleText() {
		return subtitleText;
	}

	public void setSubtitleText(String subtitleText) {
		this.subtitleText = subtitleText;
	}

	public PieSeries[] getPieSeries() {
		return pieSeries;
	}

	public void setPieSeries(PieSeries[] pieSeries) {
		this.pieSeries = pieSeries;
	}

	public Double getTotle() {
		return totle;
	}

	public void setTotle(Double totle) {
		this.totle = totle;
	}

	public class Series{
		private String name;
		private String type;		
		private Double[] data;
		
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getType() {
			return type;
		}
		public void setType(String type) {
			this.type = type;
		}
	
		public Double[] getData() {
			return data;
		}
		public void setData(Double[] seriesData) {
			this.data = seriesData;
		}
	}
	
	public class PieSeries{
		private String name;	
		private Double y;
		
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}	
	
		public Double getY() {
			return y;
		}
		public void setY(Double y) {
			this.y = y;
		}
		
	}
}